//
//  WYCXingyeController.m
//  快付钱包
//
//  Created by 中企互联 on 2018/1/12.
//  Copyright © 2018年 中企互联. All rights reserved.
//

#import "WYCXingyeController.h"

@interface WYCXingyeController ()<UIWebViewDelegate>
@property(nonatomic,strong)UIWebView * webView;

@end

@implementation WYCXingyeController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    CGFloat tableviewY = CGRectGetMaxY(self.navigationController.navigationBar.frame);
    _webView = [[UIWebView alloc] init];
    _webView.frame = CGRectMake(0, tableviewY, ScreenWidth, ScreenHeight);
    _webView.delegate = self;
    _webView.backgroundColor = [UIColor whiteColor];
    
    
    //请求协议
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://ccshop.cib.com.cn:8010/application/cardapp/newfast/ApplyCard/toSelectCard?id=e97eca64fbd74b9b823f1c7fd1186226"]]]];
    [self.view addSubview:_webView];
    
    
    
    self.navigationItem.title = @"兴业银行";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    [self.navigationController.navigationBar setBarTintColor:WYCMain];
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
